/* 统一分页样式 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
}

.pagination-info {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination {
    justify-content: center;
    margin: 0;
    padding: 0;
}

.pagination .page-item .page-link {
    border-radius: 8px !important;
    margin: 0 3px;
    color: #2196f3;
    border: 1px solid #dee2e6;
    background: #fff;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 40px;
    text-align: center;
}

.pagination .page-item.active .page-link {
    background: #2196f3;
    color: #fff;
    font-weight: bold;
    border-color: #2196f3;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination .page-link:hover:not(.disabled) {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #2196f3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
    outline: none;
}

/* 快速跳转样式 */
.page-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.page-jump input {
    width: 60px;
    padding: 4px 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.page-jump button {
    padding: 4px 12px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.page-jump button:hover {
    background: #1976d2;
}

/* 每页显示数量选择器 */
.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.page-size-selector select {
    padding: 4px 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .pagination-wrapper {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination .page-item .page-link {
        margin: 0 1px;
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
    }
    
    .page-jump, .page-size-selector {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pagination .page-item .page-link {
        padding: 5px 8px;
        font-size: 12px;
        min-width: 30px;
    }
    
    .pagination-info {
        text-align: center;
        font-size: 13px;
    }
} 